package cn.lingyangwl.agile.food.model.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 库存单据类型, 正数表示入库, 负数表示出库
 * @author shenguangyang
 */
@Getter
@AllArgsConstructor
public enum StockInOutType {
    IN_INIT(1, "初始化库存入库"),
    IN_STOCK_ALLOT(2, "门店调拨入库"),
    IN_OTHER(10, "其他入库"),

    OUT_STOCK_ALLOT(-2, "门店调拨出库"),
    OUT_BREAKAGE(-3, "报损出库"),
    OUT_OTHER(-10, "其他出库"),
    ;
    private final Integer key;
    private final String value;
}
